package com.sj.uabrowser.mvp.main.view.fragment;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.sj.uabrowser.R;
import com.sj.uabrowser.framework.BaseFragment;
import com.sj.uabrowser.framework.BasePresenter;

/**
 * A simple {@link Fragment} subclass.
 */
public class HomeFragment extends BaseFragment {


    public HomeFragment() {
        // Required empty public constructor
    }

    public static HomeFragment getInstance(String title){
        HomeFragment homeFragment = new HomeFragment();
        Bundle bundle = new Bundle();
        bundle.putString("title",title);
        homeFragment.setArguments(bundle);
        return  homeFragment;
    }

    @Override
    public BasePresenter createPresenter() {
        return null;
    }

    @Override
    public int getLayoutID() {
        return R.layout.fragment_home;
    }

    @Override
    public void setView() {

    }

    @Override
    public void setData() {

    }
}
